package com.us.user.services.impl;

import java.util.List;

import com.us.user.dao.IPersonalUserDAO;
import com.us.user.pojo.PersonalUser;
import com.us.user.services.IPersonalUserServices;

public class PersonalUserServices implements IPersonalUserServices {
	private IPersonalUserDAO personalUserDAO;

	public IPersonalUserDAO getPersonalUserDAO() {
		return personalUserDAO;
	}

	public void setPersonalUserDAO(IPersonalUserDAO personalUserDAO) {
		this.personalUserDAO = personalUserDAO;
	}

	public List getAllPerUser() {
		// TODO Auto-generated method stub
		return personalUserDAO.getAllPerUser();
	}

	public List searchPerUser(PersonalUser personalUser) {
		// TODO Auto-generated method stub
		return personalUserDAO.searchPerUser(personalUser);
	}

	public PersonalUser perUserView(int user_id) {
		// TODO Auto-generated method stub
		return personalUserDAO.perUserView(user_id);
	}

	public void perUserReg(PersonalUser personalUser) {
		// TODO Auto-generated method stub
		personalUserDAO.perUserReg(personalUser);
	}

	public void delPerUser(String user_id) {
		// TODO Auto-generated method stub
		personalUserDAO.delPerUser(user_id);
	}

	public void EditPerUser(PersonalUser personalUser) {
		// TODO Auto-generated method stub
		personalUserDAO.EditPerUser(personalUser);
	}
}
